package com.systop.asset.entity;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;


/**
 * 库存对象 inventory
 * 
 * @author mu
 * @date 2025-07-04
 */
@Data
public class Inventory extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 库存ID */
    private Long id;

    /** 分类ID */
    private Long categoryId;

    /** 耗材ID */
    private Long materialId;

    /** 仓库ID */
    private Long warehouseId;

    /** 当前库存数量 */
    private Long quantity;

    /** 锁定数量 */
    private Long lockQuantity;

    /** 可用数量 */
    private Long availableQuantity;

    /** 创建日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createdTime;

    /** 更新日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date updatedTime;


}
